Optimal. Leaf size=172 \[ \frac {d (b c+2 a d)}{3 a c (b c-a d)^2 \sqrt {c+d x^3}}+\frac {b}{3 a (b c-a d) \left (a+b x^3\right ) \sqrt {c+d x^3}}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {c+d x^3}}{\sqrt {c}}\right )}{3 a^2 c^{3/2}}+\frac {b^{3/2} (2 b c-5 a d) \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x^3}}{\sqrt {b c-a d}}\right )}{3 a^2 (b c-a d)^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.17, antiderivative size = 172, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 6, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {457, 105, 157,
162, 65, 214} \begin {gather*} \frac {b^{3/2} (2 b c-5 a d) \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x^3}}{\sqrt {b c-a d}}\right )}{3 a^2 (b c-a d)^{5/2}}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {c+d x^3}}{\sqrt {c}}\right )}{3 a^2 c^{3/2}}+\frac {b}{3 a \left (a+b x^3\right ) \sqrt {c+d x^3} (b c-a d)}+\frac {d (2 a d+b c)}{3 a c \sqrt {c+d x^3} (b c-a d)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 105
Rule 157
Rule 162
Rule 214
Rule 457
Rubi steps
\begin {align*} \int \frac {1}{x \left (a+b x^3\right )^2 \left (c+d x^3\right )^{3/2}} \, dx &=\frac {1}{3} \text {Subst}\left (\int \frac {1}{x (a+b x)^2 (c+d x)^{3/2}} \, dx,x,x^3\right )\\ &=\frac {b}{3 a (b c-a d) \left (a+b x^3\right ) \sqrt {c+d x^3}}+\frac {\text {Subst}\left (\int \frac {b c-a d+\frac {3 b d x}{2}}{x (a+b x) (c+d x)^{3/2}} \, dx,x,x^3\right )}{3 a (b c-a d)}\\ &=\frac {d (b c+2 a d)}{3 a c (b c-a d)^2 \sqrt {c+d x^3}}+\frac {b}{3 a (b c-a d) \left (a+b x^3\right ) \sqrt {c+d x^3}}-\frac {2 \text {Subst}\left (\int \frac {-\frac {1}{2} (b c-a d)^2-\frac {1}{4} b d (b c+2 a d) x}{x (a+b x) \sqrt {c+d x}} \, dx,x,x^3\right )}{3 a c (b c-a d)^2}\\ &=\frac {d (b c+2 a d)}{3 a c (b c-a d)^2 \sqrt {c+d x^3}}+\frac {b}{3 a (b c-a d) \left (a+b x^3\right ) \sqrt {c+d x^3}}+\frac {\text {Subst}\left (\int \frac {1}{x \sqrt {c+d x}} \, dx,x,x^3\right )}{3 a^2 c}-\frac {\left (b^2 (2 b c-5 a d)\right ) \text {Subst}\left (\int \frac {1}{(a+b x) \sqrt {c+d x}} \, dx,x,x^3\right )}{6 a^2 (b c-a d)^2}\\ &=\frac {d (b c+2 a d)}{3 a c (b c-a d)^2 \sqrt {c+d x^3}}+\frac {b}{3 a (b c-a d) \left (a+b x^3\right ) \sqrt {c+d x^3}}+\frac {2 \text {Subst}\left (\int \frac {1}{-\frac {c}{d}+\frac {x^2}{d}} \, dx,x,\sqrt {c+d x^3}\right )}{3 a^2 c d}-\frac {\left (b^2 (2 b c-5 a d)\right ) \text {Subst}\left (\int \frac {1}{a-\frac {b c}{d}+\frac {b x^2}{d}} \, dx,x,\sqrt {c+d x^3}\right )}{3 a^2 d (b c-a d)^2}\\ &=\frac {d (b c+2 a d)}{3 a c (b c-a d)^2 \sqrt {c+d x^3}}+\frac {b}{3 a (b c-a d) \left (a+b x^3\right ) \sqrt {c+d x^3}}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {c+d x^3}}{\sqrt {c}}\right )}{3 a^2 c^{3/2}}+\frac {b^{3/2} (2 b c-5 a d) \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x^3}}{\sqrt {b c-a d}}\right )}{3 a^2 (b c-a d)^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.76, size = 157, normalized size = 0.91 \begin {gather*} \frac {\frac {a \left (2 a^2 d^2+2 a b d^2 x^3+b^2 c \left (c+d x^3\right )\right )}{c (b c-a d)^2 \left (a+b x^3\right ) \sqrt {c+d x^3}}-\frac {b^{3/2} (2 b c-5 a d) \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x^3}}{\sqrt {-b c+a d}}\right )}{(-b c+a d)^{5/2}}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {c+d x^3}}{\sqrt {c}}\right )}{c^{3/2}}}{3 a^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 0.45, size = 1002, normalized size = 5.83
method | result | size |
default | \(\text {Expression too large to display}\) | \(1002\) |
elliptic | \(\text {Expression too large to display}\) | \(1720\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 445 vs.
\(2 (144) = 288\).
time = 3.70, size = 1819, normalized size = 10.58 \begin {gather*} \left [-\frac {{\left (2 \, a b^{2} c^{4} - 5 \, a^{2} b c^{3} d + {\left (2 \, b^{3} c^{3} d - 5 \, a b^{2} c^{2} d^{2}\right )} x^{6} + {\left (2 \, b^{3} c^{4} - 3 \, a b^{2} c^{3} d - 5 \, a^{2} b c^{2} d^{2}\right )} x^{3}\right )} \sqrt {\frac {b}{b c - a d}} \log \left (\frac {b d x^{3} + 2 \, b c - a d - 2 \, \sqrt {d x^{3} + c} {\left (b c - a d\right )} \sqrt {\frac {b}{b c - a d}}}{b x^{3} + a}\right ) - 2 \, {\left ({\left (b^{3} c^{2} d - 2 \, a b^{2} c d^{2} + a^{2} b d^{3}\right )} x^{6} + a b^{2} c^{3} - 2 \, a^{2} b c^{2} d + a^{3} c d^{2} + {\left (b^{3} c^{3} - a b^{2} c^{2} d - a^{2} b c d^{2} + a^{3} d^{3}\right )} x^{3}\right )} \sqrt {c} \log \left (\frac {d x^{3} - 2 \, \sqrt {d x^{3} + c} \sqrt {c} + 2 \, c}{x^{3}}\right ) - 2 \, {\left (a b^{2} c^{3} + 2 \, a^{3} c d^{2} + {\left (a b^{2} c^{2} d + 2 \, a^{2} b c d^{2}\right )} x^{3}\right )} \sqrt {d x^{3} + c}}{6 \, {\left (a^{3} b^{2} c^{5} - 2 \, a^{4} b c^{4} d + a^{5} c^{3} d^{2} + {\left (a^{2} b^{3} c^{4} d - 2 \, a^{3} b^{2} c^{3} d^{2} + a^{4} b c^{2} d^{3}\right )} x^{6} + {\left (a^{2} b^{3} c^{5} - a^{3} b^{2} c^{4} d - a^{4} b c^{3} d^{2} + a^{5} c^{2} d^{3}\right )} x^{3}\right )}}, \frac {{\left (2 \, a b^{2} c^{4} - 5 \, a^{2} b c^{3} d + {\left (2 \, b^{3} c^{3} d - 5 \, a b^{2} c^{2} d^{2}\right )} x^{6} + {\left (2 \, b^{3} c^{4} - 3 \, a b^{2} c^{3} d - 5 \, a^{2} b c^{2} d^{2}\right )} x^{3}\right )} \sqrt {-\frac {b}{b c - a d}} \arctan \left (-\frac {\sqrt {d x^{3} + c} {\left (b c - a d\right )} \sqrt {-\frac {b}{b c - a d}}}{b d x^{3} + b c}\right ) + {\left ({\left (b^{3} c^{2} d - 2 \, a b^{2} c d^{2} + a^{2} b d^{3}\right )} x^{6} + a b^{2} c^{3} - 2 \, a^{2} b c^{2} d + a^{3} c d^{2} + {\left (b^{3} c^{3} - a b^{2} c^{2} d - a^{2} b c d^{2} + a^{3} d^{3}\right )} x^{3}\right )} \sqrt {c} \log \left (\frac {d x^{3} - 2 \, \sqrt {d x^{3} + c} \sqrt {c} + 2 \, c}{x^{3}}\right ) + {\left (a b^{2} c^{3} + 2 \, a^{3} c d^{2} + {\left (a b^{2} c^{2} d + 2 \, a^{2} b c d^{2}\right )} x^{3}\right )} \sqrt {d x^{3} + c}}{3 \, {\left (a^{3} b^{2} c^{5} - 2 \, a^{4} b c^{4} d + a^{5} c^{3} d^{2} + {\left (a^{2} b^{3} c^{4} d - 2 \, a^{3} b^{2} c^{3} d^{2} + a^{4} b c^{2} d^{3}\right )} x^{6} + {\left (a^{2} b^{3} c^{5} - a^{3} b^{2} c^{4} d - a^{4} b c^{3} d^{2} + a^{5} c^{2} d^{3}\right )} x^{3}\right )}}, \frac {4 \, {\left ({\left (b^{3} c^{2} d - 2 \, a b^{2} c d^{2} + a^{2} b d^{3}\right )} x^{6} + a b^{2} c^{3} - 2 \, a^{2} b c^{2} d + a^{3} c d^{2} + {\left (b^{3} c^{3} - a b^{2} c^{2} d - a^{2} b c d^{2} + a^{3} d^{3}\right )} x^{3}\right )} \sqrt {-c} \arctan \left (\frac {\sqrt {d x^{3} + c} \sqrt {-c}}{c}\right ) - {\left (2 \, a b^{2} c^{4} - 5 \, a^{2} b c^{3} d + {\left (2 \, b^{3} c^{3} d - 5 \, a b^{2} c^{2} d^{2}\right )} x^{6} + {\left (2 \, b^{3} c^{4} - 3 \, a b^{2} c^{3} d - 5 \, a^{2} b c^{2} d^{2}\right )} x^{3}\right )} \sqrt {\frac {b}{b c - a d}} \log \left (\frac {b d x^{3} + 2 \, b c - a d - 2 \, \sqrt {d x^{3} + c} {\left (b c - a d\right )} \sqrt {\frac {b}{b c - a d}}}{b x^{3} + a}\right ) + 2 \, {\left (a b^{2} c^{3} + 2 \, a^{3} c d^{2} + {\left (a b^{2} c^{2} d + 2 \, a^{2} b c d^{2}\right )} x^{3}\right )} \sqrt {d x^{3} + c}}{6 \, {\left (a^{3} b^{2} c^{5} - 2 \, a^{4} b c^{4} d + a^{5} c^{3} d^{2} + {\left (a^{2} b^{3} c^{4} d - 2 \, a^{3} b^{2} c^{3} d^{2} + a^{4} b c^{2} d^{3}\right )} x^{6} + {\left (a^{2} b^{3} c^{5} - a^{3} b^{2} c^{4} d - a^{4} b c^{3} d^{2} + a^{5} c^{2} d^{3}\right )} x^{3}\right )}}, \frac {{\left (2 \, a b^{2} c^{4} - 5 \, a^{2} b c^{3} d + {\left (2 \, b^{3} c^{3} d - 5 \, a b^{2} c^{2} d^{2}\right )} x^{6} + {\left (2 \, b^{3} c^{4} - 3 \, a b^{2} c^{3} d - 5 \, a^{2} b c^{2} d^{2}\right )} x^{3}\right )} \sqrt {-\frac {b}{b c - a d}} \arctan \left (-\frac {\sqrt {d x^{3} + c} {\left (b c - a d\right )} \sqrt {-\frac {b}{b c - a d}}}{b d x^{3} + b c}\right ) + 2 \, {\left ({\left (b^{3} c^{2} d - 2 \, a b^{2} c d^{2} + a^{2} b d^{3}\right )} x^{6} + a b^{2} c^{3} - 2 \, a^{2} b c^{2} d + a^{3} c d^{2} + {\left (b^{3} c^{3} - a b^{2} c^{2} d - a^{2} b c d^{2} + a^{3} d^{3}\right )} x^{3}\right )} \sqrt {-c} \arctan \left (\frac {\sqrt {d x^{3} + c} \sqrt {-c}}{c}\right ) + {\left (a b^{2} c^{3} + 2 \, a^{3} c d^{2} + {\left (a b^{2} c^{2} d + 2 \, a^{2} b c d^{2}\right )} x^{3}\right )} \sqrt {d x^{3} + c}}{3 \, {\left (a^{3} b^{2} c^{5} - 2 \, a^{4} b c^{4} d + a^{5} c^{3} d^{2} + {\left (a^{2} b^{3} c^{4} d - 2 \, a^{3} b^{2} c^{3} d^{2} + a^{4} b c^{2} d^{3}\right )} x^{6} + {\left (a^{2} b^{3} c^{5} - a^{3} b^{2} c^{4} d - a^{4} b c^{3} d^{2} + a^{5} c^{2} d^{3}\right )} x^{3}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{x \left (a + b x^{3}\right )^{2} \left (c + d x^{3}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.28, size = 226, normalized size = 1.31 \begin {gather*} -\frac {{\left (2 \, b^{3} c - 5 \, a b^{2} d\right )} \arctan \left (\frac {\sqrt {d x^{3} + c} b}{\sqrt {-b^{2} c + a b d}}\right )}{3 \, {\left (a^{2} b^{2} c^{2} - 2 \, a^{3} b c d + a^{4} d^{2}\right )} \sqrt {-b^{2} c + a b d}} + \frac {{\left (d x^{3} + c\right )} b^{2} c d + 2 \, {\left (d x^{3} + c\right )} a b d^{2} - 2 \, a b c d^{2} + 2 \, a^{2} d^{3}}{3 \, {\left (a b^{2} c^{3} - 2 \, a^{2} b c^{2} d + a^{3} c d^{2}\right )} {\left ({\left (d x^{3} + c\right )}^{\frac {3}{2}} b - \sqrt {d x^{3} + c} b c + \sqrt {d x^{3} + c} a d\right )}} + \frac {2 \, \arctan \left (\frac {\sqrt {d x^{3} + c}}{\sqrt {-c}}\right )}{3 \, a^{2} \sqrt {-c} c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 12.18, size = 288, normalized size = 1.67 \begin {gather*} \frac {\ln \left (\frac {{\left (\sqrt {d\,x^3+c}-\sqrt {c}\right )}^3\,\left (\sqrt {d\,x^3+c}+\sqrt {c}\right )}{x^6}\right )}{3\,a^2\,c^{3/2}}+\frac {\left (\frac {{\left (2\,a\,d+b\,c\right )}^4+{\left (2\,a\,d+b\,c\right )}^2\,\left (\left (a\,d+2\,b\,c\right )\,\left (2\,a\,d+b\,c\right )-9\,a\,b\,c\,d\right )}{9\,a\,c\,{\left (2\,a\,d+b\,c\right )}^2\,\left (a^2\,d^2-2\,a\,b\,c\,d+b^2\,c^2\right )}+\frac {b\,d\,x^3\,\left (2\,a\,d+b\,c\right )}{3\,a\,c\,\left (a^2\,d^2-2\,a\,b\,c\,d+b^2\,c^2\right )}\right )\,\sqrt {d\,x^3+c}}{b\,d\,x^6+\left (a\,d+b\,c\right )\,x^3+a\,c}+\frac {b^{3/2}\,\ln \left (\frac {2\,b\,c-a\,d+b\,d\,x^3+\sqrt {b}\,\sqrt {d\,x^3+c}\,\sqrt {a\,d-b\,c}\,2{}\mathrm {i}}{b\,x^3+a}\right )\,\left (5\,a\,d-2\,b\,c\right )\,1{}\mathrm {i}}{6\,a^2\,{\left (a\,d-b\,c\right )}^{5/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________